18. Advanced OOP Topics
Advanced OOP Topics
Inheritance is the last object-oriented programming topic in the lesson. Thus far you've been exposed to:
- classes and objects
- attributes and methods
- magic methods
- inheritance
Classes, object, attributes, methods, and inheritance are common to all object-oriented programming languages.
Knowing these topics is enough to start writing object-oriented software. What you've learned so far is all you need to know to complete this OOP lesson. However, these are only the fundamentals of object-oriented programming.
Here is a list of resources for advanced Python object-oriented programming topics.
- class methods, instance methods, and static methods - these are different types of methods that can be accessed at the class or object level
- class attributes vs instance attributes - you can also define attributes at the class level or at the instance level
- multiple inheritance, mixins - A class can inherit from multiple parent classes
- Python decorators - Decorators are a short-hand way for using functions inside other functions